package com.smartcampusbackend.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("interest_community")
public class InterestCommunity {
    @TableId
    private Integer id;
    
    private String name; // 社群名称
    private String description; // 社群描述
    private String category; // 社群分类
    private Integer creatorId; // 创建者ID
    @TableField("creator_name")
    private String creatorName; // 创建者姓名
    private Integer memberCount; // 成员数量
    private Integer postCount; // 帖子数量
    private Integer status; // 状态：1-正常，0-已删除
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 